export interface UserRoleModel{
	label:string;
	value:string;
}
export interface AccesTokenModel{
  access_token:string;
  refresh_token:string;
  expires_in:number;
}
export interface userModel {
  user_id: string;
  user_name: string;
  register_date: Date;
  role: number;
  grade: number;
  vip_enddate: Date;
  avatar: string;
  nick: string;
  invite_code: string;
  integral: number;
  widthdrawal_total: number;
  file_size_limit: number;
  inviteUserId: string;
  openId: string;
}
//用户资产
export interface assetModel {
  Integral: number;
  Gold: number;
  WithdrawAmount: number;
  CreateCount: number;
  LikeCount: number;
  FansCount: number;
  Ios: boolean;
}

//登录二维码
export interface loginQrcodeModel {
  tiket: string;
  expire_seconds: number;
  url: string;
}

//操作日志
export interface optLogModel {
  id: number;
  apiProvider: string;
  apiName: string;
  request: string;
  response: string;
  jobId: string;
  jobResult: string;
  jobStatus: number;
  createDate: Date;
  userId: string;
  groupId: string;
}


//积分列表项模型
export interface integralInfoModel
{
  id: number;
  CreateDate: Date;
  UserId: string;
  Integral: number;
  IntegralType: number;
  IntegralTypeText: string;
  BeforeAmount: number;
  AfterAmount: number;
  OrderNo: string;
}

//金币列表项模型
export interface goldInfoModel
{
  id: number;
  CreateDate: Date;
  GoldAmount: number;
  GoldType: number;
  GoldTypeText: string;
  BeforeAmount: number;
  AfterAmount: number;
}


//提现记录项
export interface withdrawInfoModel
{
  CreateDate: Date;
  WithdrawAmount: number;
  OrderNo: string;
  BeforeAmount: number;
  AfterAmount: number;
  WithdrawStatus:number;
}

export interface withdrawOrderModel
{
  CreateDate: Date;
  WithdrawAmount: number;
  OrderNo: string;
  StatusTxt: string;
  GoldAmount: number;
  WithdrawStatus:number;
}

//订单列表
export interface orderInfoModel
{
  orderno: string;
  create_date: Date;
  order_name: string;
  order_type: number;
  order_type_text: string;
  pay_amount: number;
  total_amount: number;
  userid: string;
  order_status: number;
  order_status_text: string;
  pay_date: Date;
 pay_type: number;
 pay_type_text: string;
 trade_no: string;
 mchid: string;
 freight: string;
 ship_to: string;
 cell_phone: string;
 address: string;
 deliver_companyname: string;
 deliver_date: Date;
 deliver_date_text: string;
 deliver_orderno: string;
 finish_date: Date;
 items: string;
 total_price: number;
 total_integral: number;
 ConnectId: string;

}

//积分定价
export interface integralPriceModel{
    id:number; //积分额度
    price: number;  //实付价
    text: string;
    old_price:number; //原价
    discount: string; //优惠信息
    discount_rate:number; //优惠比例
    ios: boolean;
}
